package top.ewind.interceptor;

import io.moquette.spi.security.IAuthorizator;

/**
 * @author andrea
 */
public class MsgAuthorizator implements IAuthorizator {
    @Override
    public boolean canWrite(String topic, String user, String client) {
    	//System.out.println("==canWrite==========="+topic+"==="+user+"==="+client+"===");
        return true;
    }

    @Override
    public boolean canRead(String topic, String user, String client) {
    	//System.out.println("==canRead==========="+topic+"==="+user+"==="+client+"===");
        return true;
    }
}
